package com.atguigu.gmall.oms.vo;

import com.atguigu.gmall.ums.entity.MemberReceiveAddressEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 提交订单信息
 */
@Data
public class OrderSubmitVO {

    private String orderToken;//防止重复提交

    private MemberReceiveAddressEntity address;//地址

    private Integer payType;//支付方式
    private String deliveryCompany;//配送方式

    private List<OrderItemVO> items;//送货清单

    private Integer bounds;//积分

    private BigDecimal totalPrice;//总价

    private Long userId;//用户ID也传过来
}
